//
//  RegisterViewController.swift
//  SmallParts
//
//  Created by 航汇聚 on 2019/12/5.
//  Copyright © 2019 BellaZhou. All rights reserved.
//

import UIKit
enum FunctionButtonForRegisterPage: Int {
    case back = 1000
    case gainCode
    case register
    case userServiceDelegate
    case privatePolicy
}
class RegisterViewController: UIViewController {

    @IBAction func touchAction(_ sender: UIButton) {
        let tagValue: FunctionButtonForRegisterPage = FunctionButtonForRegisterPage(rawValue: sender.tag)!
        switch tagValue {
        case .back:
            self.dismiss(animated: true, completion: nil)
            break
        case .gainCode:
            break
        case .register:
            break
        case .userServiceDelegate:
            break
        case .privatePolicy:
            break
        }
    }
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
